home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 22 / Amiga Format AFCD22 (Jan 1998, Issue 106).iso / -in_the_mag- / converters / graphics / xpdf / docs / libx11.readme next >
Text File  |  1997-11-14  |  3KB  |  54 lines

  1.  
  2.   Some LibX11 info:
  3. --------------------
  4. As you may have guessed, this program uses something I have called libX11 which
  5. is a link library of X11 emulation routines. It tries to provide an easy way
  6. of making programs written for the X11 window system run on the amiga.
  7. To do this I have used a lot of different amiga functions, some of them
  8. may not bee too portable across different configurations (most notably
  9. those with gfx cards). I have been informed that some Blitter functions
  10. doesn't do too well on those gfx cards. The library uses BltPattern/
  11. BltBitMap/BltBitMapRastPort and BltMaskBitMapRastPort both for 1 plane
  12. and >1 plane bitmaps. Some functions also uses the chunky to planar routines
  13. by Morten Eriksen (it may not be the fastest but at least it is general
  14. enough to be useful!) which has been reported not to work on gfx cards.
  15. To prevent these functions from beeing used set 'Amiga.nochunkytoplanar: True'
  16. (not all programs may use these functions!).
  17.  
  18. To handle fonts a file called AmigaDefaults (==.XDefaults) that contains
  19. information on mapping between X11 fonts and amiga fonts, has been made.
  20. It should be placed in libx11:
  21.  
  22. fontmap.courier: courier.font
  23. fontmap.helvetica: helvetica.font
  24.  
  25. are valid entries into this library where the string between . and : is the
  26. substring that when it matches a requested fontname will map the font into
  27. the fontname following the colon. A program may ask for
  28. "-adobe-helvetica-medium-r-*--" and will in this case receive the helvetica.font.
  29. If you have bitmap versions of the postscript fonts you may insert them
  30. into this file! (in case you are working with xfig..) I guess it should
  31. be possible to convert those fonts into something usable on the amiga
  32. with some of those font editors.
  33.  
  34. If you don't like the cursors that the applications may choose to use
  35. you can override it with 'Amiga.cursors: 0' in AmigaDefaults. They may look ugly
  36. but are the default cursors of the X11 window system. 
  37.  
  38. If you want to run an application on a public screen most of the programs
  39. will react to a command line entry '-display PubScreen'.
  40.  
  41. Some debug information can be obtained by 'Amiga.debug: True'. Most programs
  42. also provide its own debug command line option.
  43.  
  44. To provide proper color handling a file called rgb.txt has to be placed in
  45. libx11:. it contains mapping between color names and rgb values. (used by
  46. XLookupColor/XParseColor and XAllocNamedColor). Also under os 3.0 pensharing
  47. is used to obtain pens. 
  48.  
  49. Due to no interest for this library it has been withdrawn from the 'market'.
  50. Consequently no support for this can be obtained and no updated source will become
  51. available. Sorry for the inconvenience..
  52.  
  53. TP
  54.